import React from 'react'
import ReactDOM from 'react-dom/client'
import { ConfigProvider } from 'antd'
import { HashRouter } from 'react-router-dom'
import { Provider } from 'react-redux'
import zhCN from 'antd/locale/zh_CN'
import store from './stores'
import App from './App.jsx'

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <HashRouter>
      <ConfigProvider locale={zhCN} theme={{ token: { borderRadius: 2 } }}>
        <Provider store={store}>
          <App />
        </Provider>
      </ConfigProvider>
    </HashRouter>
  </React.StrictMode>
)
